<template>
  <div style="display: flex;align-items: center;flex-direction: column;">
    <div style="width: 62%;background: #e2e2e2;">
      <div class="container">
        <div class="card">
          <div>二维码生成</div>
          <div class="lcontainer">
            <div class="qrleft">
              <div class="qrimg"></div>
              <div></div>
            </div>
            <div class="qright"></div>
          </div>
        </div>
        <div class="card">卡片2</div>
      </div>
    </div>
  </div>


</template>

<script>
export default {
  name: 'HelloWorld',
  props: {
    msg: String
  }
}
</script>

<!-- Add "scoped" attribute to limit CSS to this component only -->
<style scoped>
.qrleft {
  display: 1 1 200px;
}

.qright {
  display: 1 1 200px;
}

.lcontainer {
  display: flex;
}

.container {
  width: 100%;
  height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.card {
  width: 70%;
  height: 40vh;
  margin-bottom: 20px;
  background: green;
  box-shadow: 0 8px 12px rgba(49, 49, 49, 0.3);
  border-radius: 4px;
  padding: 20px;
  background-color: white;
  transition: box-shadow 0.3s ease;
}

.card:hover {
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
  /* 鼠标悬停时加深阴影效果，营造悬浮起来的感觉 */
}

.card:last-child {
  margin-bottom: 0;

  /* 移除最后一个卡片的底部间距，使其符合要求 */
}
</style>
